package com.stylefeng.guns.modular.area.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author liqi
 * @since 2017-11-16
 */
@TableName("BDAP_USER_AREA")
public class BdapUserArea extends Model<BdapUserArea> {

    private static final long serialVersionUID = 1L;

    /**
     * 特别关注
     */
    public static final Integer IS_IMPORTANT=1;
    
    /**
     * 不是特别关注
     */
    public static final Integer IS_NOT_IMPORTANT=0;
    
    
    /**
     * 状态（1：审批中 2：已完成 3：已失效）
     */
	@TableField("STATE")
	private Integer state;
    /**
     * 是否关注（1：关注 0：不关注）
     */
	@TableField("IS_IMPORTANT")
	private Integer isImportant;
    /**
     * 区域id
     */
	@TableField("AREAID")
	private Long areaid;
    /**
     * 用户id
     */
	@TableField("USERID")
	private Integer userid;


	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getIsImportant() {
		return isImportant;
	}

	public void setIsImportant(Integer isImportant) {
		this.isImportant = isImportant;
	}

	public Long getAreaid() {
		return areaid;
	}

	public void setAreaid(Long areaid) {
		this.areaid = areaid;
	}

	public Integer getUserid() {
		return userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	@Override
	protected Serializable pkVal() {
		return null;
	}

	@Override
	public String toString() {
		return "BdapUserArea{" +
			"state=" + state +
			", isImportant=" + isImportant +
			", areaid=" + areaid +
			", userid=" + userid +
			"}";
	}
}
